home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 API Bible / Windows 95 API Bible 3 Disc Set.iso / Win32 API Bible Book 1 of 3 / CHAPTE25 / EX20.RC < prev    next >
Text File  |  1995-04-24  |  670b  |  25 lines

  1. #include "windows.h"
  2. #include "generic.h"
  3.  
  4. // Define these menu options in a popup menu.
  5. #define IDM_LAUNCH  201
  6. #define IDM_READ    202
  7. #define IDM_WRITE   203
  8. #define IDM_FLUSH   204
  9.  
  10. MYAPP                   ICON    DISCARDABLE     "GENERIC.ICO"
  11.  
  12. MYAPP MENU DISCARDABLE
  13. BEGIN
  14.     POPUP "&File"
  15.     BEGIN
  16.         MENUITEM "E&xit",                       IDM_EXIT
  17.     END
  18.     POPUP "&Test"
  19.     BEGIN
  20.         MENUITEM "&Launch",                      IDM_LAUNCH
  21.         MENUITEM "&Read",                        IDM_READ
  22.         MENUITEM "&Write",                       IDM_WRITE
  23.         MENUITEM "&Flush",                       IDM_FLUSH
  24.     END
  25. END